package com.zhiyou100.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 公共模块——点赞、点踩表
 *
 * @author yang
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class PublicLike implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 点赞的id
     */
    @TableId("like_id")
    private Integer likeId;
    /**
     * 点赞用户的id
     */
    private Integer likeUserId;
    /**
     * 被点赞的类型 留言｜动态
     */
    private Integer likeType;
    /**
     * 被点赞对象的 id
     */
    private Integer likeObjectId;
    /**
     * 点赞或者点踩
     */
    private Boolean likeOrDislike;
}